home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global grollnumber, gleftedge, grightedge, gupedge, gdownedge, gKnobState, gKnobSprite
- gKnobState = 2
- gKnobSprite = 18
- puppetSprite(48, 1)
- gleftedge = 560
- grightedge = 320
- gupedge = 265
- gdownedge = 210
- grollnumber = 6
- end
-
- on checkrolls
- repeat with i = 2 to 6
- if rollOver(i) then
- theCast = cast(the castNum of sprite i).name
- set the castNum of sprite i to the number of member (theCast & "1")
- updateStage()
- repeat while rollOver(i)
- checkCursors()
- set the locH of sprite 48 to the mouseH
- set the locV of sprite 48 to the mouseV
- updateStage()
- if the mouseDown then
- exit
- end if
- end repeat
- set the castNum of sprite i to the number of member theCast
- updateStage()
- end if
- end repeat
- end
-
- on myLeft
- global gleftedge, grollnumber
- channel = the clickOn
- puppetSprite(channel, 1)
- puppetSound("buttonSound")
- theCast = cast(the castNum of sprite channel).name
- set the castNum of sprite channel to the number of member (theCast & "B")
- updateStage()
- puppetSound(0)
- repeat while the stillDown
- if the locH of sprite 1 >= gleftedge then
- exit repeat
- end if
- repeat with i = 1 to grollnumber
- set the locH of sprite i to the locH of sprite i + 15
- end repeat
- updateStage()
- end repeat
- set the castNum of sprite channel to the number of member theCast
- updateStage()
- puppetSprite(channel, 0)
- end
-
- on myRight
- global grightedge, grollnumber
- channel = the clickOn
- puppetSprite(channel, 1)
- puppetSound("buttonSound")
- theCast = cast(the castNum of sprite channel).name
- set the castNum of sprite channel to the number of member (theCast & "B")
- updateStage()
- puppetSound(0)
- repeat while the stillDown
- if the locH of sprite 1 <= grightedge then
- exit repeat
- end if
- repeat with i = 1 to grollnumber
- set the locH of sprite i to the locH of sprite i - 15
- end repeat
- updateStage()
- end repeat
- set the castNum of sprite channel to the number of member theCast
- updateStage()
- puppetSprite(channel, 0)
- end
-
- on myUp
- global gupedge, grollnumber
- channel = the clickOn
- puppetSprite(channel, 1)
- puppetSound("buttonSound")
- theCast = cast(the castNum of sprite channel).name
- set the castNum of sprite channel to the number of member (theCast & "B")
- updateStage()
- puppetSound(0)
- repeat while the stillDown
- if the locV of sprite 1 >= gupedge then
- exit repeat
- end if
- repeat with i = 1 to grollnumber
- set the locV of sprite i to the locV of sprite i + 15
- end repeat
- updateStage()
- end repeat
- set the castNum of sprite channel to the number of member theCast
- updateStage()
- puppetSprite(channel, 0)
- end
-
- on myDown
- global gdownedge, grollnumber
- channel = the clickOn
- puppetSprite(channel, 1)
- puppetSound("buttonSound")
- theCast = cast(the castNum of sprite channel).name
- set the castNum of sprite channel to the number of member (theCast & "B")
- updateStage()
- puppetSound(0)
- repeat while the stillDown
- if the locV of sprite 1 <= gdownedge then
- exit repeat
- end if
- repeat with i = 1 to grollnumber
- set the locV of sprite i to the locV of sprite i - 15
- end repeat
- updateStage()
- end repeat
- set the castNum of sprite channel to the number of member theCast
- updateStage()
- puppetSprite(channel, 0)
- end
-